import QtQuick
import QtQuick.Controls

Item {
    width: parent.width
    height: parent.height

    Button {
        x: 50
        y: 50
        id: btn
        text: "Show Simple Popup"
        onClicked: popup.open()
    }

    Popup {
        id: popup
        x: 50
        y: 90
        width: 200
        height: 100

        Label {
            text: "This is a simple Popup"
            anchors.centerIn: parent
        }
    }
}
